package dao;

import local.Employe;

public class EmployesDao {

	public static Employe [] EmployesDAO = {
		
		new Employe("TRTR",56565,"NBGJHFHGF"),
		new Employe("YIIULHLKH",787899,"HKGJHG"),
		new Employe("GJfhgdhfd",585865675,"GKJFJFJ"),
		new Employe("JKHKJGKH",807987,"HCHGDYD"),
		new Employe("GHJGJF",9766,"JFHYDEYRRF"),
		new Employe("JGJHFJF",899768586,"GHKJFTH"),
		
		

	};
	
	
	public Employe findByKey(int id)
	{
		for(Employe employe : EmployesDAO)
		{
			if(employe.getIdUtilisateur() == id)
			{
				return employe;
			}
		}
				return null;
	}	
		
}
